package com.uzai.console.dto.user.wechatuser;

import com.uzai.console.dto.BaseDto;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @author liuqi
 * @date 2021年08月28日 17:44
 */
@ApiModel("微信用户添加黑名单参数")
public class WechatUserAddBlackDto extends BaseDto {
    @ApiModelProperty("用户ID")
    private Long id;
    @ApiModelProperty("类型")
    private Integer userBlackType;
    @ApiModelProperty("备注")
    private String remark;
    @ApiModelProperty("全网黑名单标志（0-不启用；1-启用")
    private Integer allBackFlag;
    @ApiModelProperty("是否修改会员备注(0-否；1-是)")
    private Integer updateRemarkFlag;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Integer getUserBlackType() {
        if(userBlackType == null){
            userBlackType = 0;
        }
        return userBlackType;
    }

    public void setUserBlackType(Integer userBlackType) {
        this.userBlackType = userBlackType;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Integer getAllBackFlag() {
        return allBackFlag;
    }

    public void setAllBackFlag(Integer allBackFlag) {
        this.allBackFlag = allBackFlag;
    }

    public Integer getUpdateRemarkFlag() {
        return updateRemarkFlag;
    }

    public void setUpdateRemarkFlag(Integer updateRemarkFlag) {
        this.updateRemarkFlag = updateRemarkFlag;
    }
}
